
#define VERSION_NUMBER 1

struct getParameters{
  char login[32];
  char field[32];
  char value[255];
};

struct existenceParameters{
  char login[32];
  int value[1];
};

struct updateParameters{
  char login[32];
  char field[32];
  char value[255];
};

struct appendParameters{
  char login[32];
  char password[32];
  char role[20];
  char policy[255];
  char name[255];
};

struct deleteParameters{
  char login[32];
};

struct getUintParameters{
  char login[32];
  char field[32];
  int value;
};

struct existenceResult{
  int code;
  int result;
};

struct getResult{
  int code;
  char result[255];
};

struct getUintResult{
  int code;
  int result;
};

program USS{
	version USS_VERSION{
		getResult getstringbyLogin (getParameters)=1;  
		existenceResult existencelogin (existenceParameters)=2;
		int updatefieldbylogin (updateParameters)=3;
		int appendrow (appendParameters)=4;
		int deleterowbylogin (deleteParameters)=5;
                getUintResult getuintbylogin (getUintParameters) =6;
	}=VERSION_NUMBER;
}=32700003;
